//go:build wireinject
// +build wireinject

package main

import (
	"context"
	"shop-manager/internal/db"
	"shop-manager/internal/logic"
	"shop-manager/internal/repos"
	"shop-manager/internal/server"

	"github.com/google/wire"
)

var ProviderSet = wire.NewSet(
	db.ProviderSet,
	repos.ProviderSet,
	logic.ProviderSet,
	server.ProviderSet,
)

func CreateServer(ctx context.Context, configFile string) (*server.Server, error) {
	wire.Build(ProviderSet)

	return nil, nil
}
